<h2 class="ourCompany-hdr"><%= link_to image_tag("/images/add_user.png", :title => t('administrator.new'), :border=>0), new_administrator_path %>
  <%=  t('administrator.new')%></h2>

<table width="200" align="center" border="0" cellspacing="2" cellpadding="2">
  <% @administrators.each do |administrator|%>
	      <tr>
                <th align="left" scope="row"><img src="/images/events.png" width="32" height="32" /></th>
                <th nowrap="nowrap" align="left"><%=  t('administrator.name')%></th>
	        <td align="left"><%=  t('administrator.email')%></td>
        </tr>
	      <tr>
	        <th align="left" scope="row">&nbsp;</th>
	        <th nowrap="nowrap"  align="left">Email:</th>
	        <td align="left"><%=h administrator.login %></td>
                <td><%= link_to image_tag("/images/check.png", :title => t('administrator.show'), :border=>0), administrator %></td>
    <td><%= link_to image_tag("/images/edit_user.png", :title => t('administrator.edit'), :border=>0), edit_administrator_path(administrator) %></td>
    <td><td><%= link_to 'Destroy', administrator, :confirm => 'Are you sure? All association(Events,Categories,Machines) will be deleted', :method => :delete %></td></td>
   

        </tr>
        <% end %>
      </table>


